package com.letian.info.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.letian.common.annotation.Excel;
import com.letian.common.core.domain.BaseEntity;

/**
 * 用户收藏对象 info_user_collect
 * 
 * @author bmz
 * @date 2023-12-01
 */
public class InfoUserCollect extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 用户收藏ID */
    private Long userCollectId;

    /** 用户账号 */
    @Excel(name = "用户账号")
    private String userName;

    /** 对象类型 */
    @Excel(name = "对象类型")
    private String objectType;

    /** 对象ID */
    @Excel(name = "对象ID")
    private Long objectId;

    /** 是否点赞（0代表点赞 2代表不点赞） */
    @Excel(name = "是否点赞", readConverterExp = "0=代表点赞,2=代表不点赞")
    private Integer isThumbsUp;

    /** 是否喜欢（0代表喜欢 2代表不喜欢） */
    @Excel(name = "是否喜欢", readConverterExp = "0=代表喜欢,2=代表不喜欢")
    private Integer isLike;

    /** 删除标志（0代表存在 2代表删除） */
    private String delFlag;

    public void setUserCollectId(Long userCollectId) 
    {
        this.userCollectId = userCollectId;
    }

    public Long getUserCollectId() 
    {
        return userCollectId;
    }
    public void setUserName(String userName) 
    {
        this.userName = userName;
    }

    public String getUserName() 
    {
        return userName;
    }
    public void setObjectType(String objectType) 
    {
        this.objectType = objectType;
    }

    public String getObjectType() 
    {
        return objectType;
    }
    public void setObjectId(Long objectId) 
    {
        this.objectId = objectId;
    }

    public Long getObjectId() 
    {
        return objectId;
    }
    public void setIsThumbsUp(Integer isThumbsUp) 
    {
        this.isThumbsUp = isThumbsUp;
    }

    public Integer getIsThumbsUp() 
    {
        return isThumbsUp;
    }
    public void setIsLike(Integer isLike) 
    {
        this.isLike = isLike;
    }

    public Integer getIsLike() 
    {
        return isLike;
    }
    public void setDelFlag(String delFlag) 
    {
        this.delFlag = delFlag;
    }

    public String getDelFlag() 
    {
        return delFlag;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("userCollectId", getUserCollectId())
            .append("userName", getUserName())
            .append("objectType", getObjectType())
            .append("objectId", getObjectId())
            .append("isThumbsUp", getIsThumbsUp())
            .append("isLike", getIsLike())
            .append("delFlag", getDelFlag())
            .append("createBy", getCreateBy())
            .append("createTime", getCreateTime())
            .toString();
    }
}
